/*
 * @Author: 韩政轩 2191277604@qq.com
 * @Date: 2025-06-28 10:11:49
 * @LastEditors: 韩政轩 2191277604@qq.com
 * @LastEditTime: 2025-06-28 10:12:24
 * @FilePath: \见习2\Random50.java
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
public class Random50 {
    public static void main(String[] args) {
        int randomNum = (int) (Math.random() * 50) + 1;
        System.out.print("随机数: " + randomNum);
    }
}